import {add,mul} from './js/math.js'
import {name} from './js/info.js'

// require('./css/a.css')
// require('./css/b.less')

// console.log(name)

// console.log(add(10,20))
// console.log(mul(30,40))

import Vue from 'vue'
import app from './vue/app.js'
import Home from './vue/Home.vue'

new Vue({
    el:'#app',
    data:{
      msg:'hello webpack!'
    },
    //3.使用组件
    template:`
    <div>
      <app/>
      <Home/>
    </div>
    `,

    components:{// 2.注册组件
      app,
      Home
    }
})